@section('meta')
    <style>
        body{background-color: #fff;}
        .modal-content{display: unset;}
        .layui-input.layui-bg-gray {line-height: 38px;}
    </style>
@endsection
@include('Home.User.Common._meta')
<!----  编辑  ---->
<div class="modal-content" id="addNew-content2">
    <form class="layui-form modal-client-info" action="" id="form-user" lay-filter="form-user">
        @if(Auth::user()->hasAnyRole(['admin']) || Auth::id()==$obj->assign)
            <div class="modal-func-btns">
                <a href="javascript:;" class="modal-save-btn" onclick="subForm('{{route('finance_edit',$obj->id)}}')" title="保存"><i class="icon icon-save"></i></a>
                <a href="javascript:location.replace(location.href);" class="modal-edit-btn" title="重置"><i class="icon icon-edit"></i></a>
            </div>
            @include('Home.User.Common._msg')
        @endif
        <div class="layui-form-item">
            <label class="layui-form-label"><span class="red">*</span>候选人</label>
            <div class="layui-input-block">
                <div class="layui-input layui-bg-gray">{{$obj->resume_name}}</div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><span class="red">*</span>职位</label>
            <div class="layui-input-block">
                <div class="layui-input layui-bg-gray">{{$obj->position_name}}</div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><span class="red">*</span>所属客户</label>
            <div class="layui-input-block">
                <div class="layui-input layui-bg-gray">{{$obj->client_name}}</div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><span class="red">*</span>渠道来源</label>
            <div class="layui-input-block">
                <div class="layui-input layui-bg-gray">{{$obj->from_type.$obj->from_name}}</div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><span class="red">*</span>推荐人</label>
            <div class="layui-input-block">
                <div class="layui-input layui-bg-gray">{{$obj->assign_name}}</div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><span class="red">*</span>实际到岗</label>
            <div class="layui-input-block">
                <div class="layui-input layui-bg-gray">{{$obj->entry_time}}</div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">质保期</label>
            <div class="layui-input-block">
                @if(Auth::user()->hasAnyRole(['admin']) || Auth::id()==$obj->assign)
                    <input type="text" name="quality" value="{{$obj->quality}}" lay-verify="" placeholder="请输入公司质保期" autocomplete="off" class="layui-input">
                @else
                    <div class="layui-input layui-bg-gray">{{$obj->quality}}</div>
                @endif
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">应收金额</label>
            <div class="layui-input-block">
                @if(Auth::user()->hasAnyRole(['admin']) || Auth::id()==$obj->assign)
                    <input type="text" name="receivable" value="{{$obj->receivable}}" lay-verify="" placeholder="请输入公司应收金额" autocomplete="off" class="layui-input">
                @else
                    <div class="layui-input layui-bg-gray">{{$obj->receivable}}</div>
                @endif
            </div>
        </div>
    </form>
</div>
@include('Home.User.Common._footer')
@include('Home.User.Common._form')